
// 引入 mysql 包
const mysql = require('mysql')

const dataBase = mysql.createPool({
    host: 'localhost',
    user: 'root',
    password: '020313',
    database: 'shcool_data'
})

module.exports = dataBase